//
//  ControlViewController.m
//  嘀嘀拍
//
//  Created by wangjia_01 on 16/2/25.
//  Copyright © 2016年 wangjia_01. All rights reserved.
//

#import "ControlViewController.h"

@interface ControlViewController ()

@end

@implementation ControlViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.view.backgroundColor = [UIColor whiteColor];
    // Do any additional setup after loading the view.
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}
- (IBAction)clickGoto:(id)sender {
    
    UIButton *button=sender;
    UIViewController *viewC=nil;
    switch (button.tag-5000) {
        case 0:
            viewC=[UIViewController getClass:@"AMapNavigationViewController"];
            break;
        case 1:
            
            break;
        case 2:
            
            break;
        case 3:
            
            break;
        case 4:
            
            break;
        case 5:
            
            break;
            
            
        default:
            break;
    }
    
    [self.navigationController pushViewController:viewC animated:YES];
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
